<?php
return array(
    //'配置项'=>'配置值'
    'DEFAULT_MODULE' => 'Home', // 默认模块
    'URL_MODEL' => 2,
    'DB_TYPE' => 'mysql', // 数据库类型
    'DB_NAME' => 'fire_game', // 数据库名称
    'DB_USER' => 'root', // 数据库用户名
    'DB_HOST' => '10.66.188.73', // 数据库服务器地址
    'DB_PWD' => 'oRxAc5Jk6_pHjuvIyaFhj1w9C3Zg%', // 数据库密码
    'DB_PREFIX' => 'c_', // 数据表前缀
    'DB_CHARSET' => 'utf8mb4', // 网站编码
    'DB_PORT' => '3306', // 数据库端口
    'APP_DEBUG' => true, // 开启调试模式
    'LOAD_EXT_CONFIG' => 'game_redis',
    'DB_PARAMS' => array(
        'persist' => true // 数据库持久化
    ),

    'EVERY_DAY' => array(   // 每日签到
        1 => array('id'=>1,'days'=>'第一天','name'=>'钞票','prize'=>100,'status'=>0),
        2 => array('id'=>2,'days'=>'第二天','name'=>'钞票','prize'=>200,'status'=>0),
        3 => array('id'=>3,'days'=>'第三天','name'=>'钞票','prize'=>300,'status'=>0),
        4 => array('id'=>4,'days'=>'第四天','name'=>'钞票','prize'=>400,'status'=>0),
        5 => array('id'=>5,'days'=>'第五天','name'=>'钞票','prize'=>500,'status'=>0),
        6 => array('id'=>6,'days'=>'第六天','name'=>'钞票','prize'=>600,'status'=>0),
        7 => array('id'=>7,'days'=>'第七天','name'=>'钞票','prize'=>700,'status'=>0),
    ),
  
    'GRADE_NAME' => array(  // 等级称号
        '1'=>'菜鸟',
        '2'=>'青铜',
        '3'=>'白银',
        '4'=>'黄金',
        '5'=>'铂金',
        '6'=>'钻石',
        '7'=>'大师',
        '8'=>'王者',
        '9'=>'至尊'
    ),

    'GRADE_LEVEL' => array(  // 等级积分
        '1' => '0-30',
        '2' => '30-90',
        '3' => '90-180',
        '4' => '180-300',
        '5' => '300-450',
        '6' => '450-630',
        '7' => '630-840',
        '8' => '840-1080',
        '9' => '1080-1350'
    ),

    'EVERY_TASK' => array(  // 每日任务
        1 => array('id'=>1,'name'=>'邀请1人','diamonds'=>100,'status'=>0),
        2 => array('id'=>2,'name'=>'邀请2人','diamonds'=>120,'status'=>0),
        3 => array('id'=>3,'name'=>'邀请3人','diamonds'=>140,'status'=>0),
        4 => array('id'=>4,'name'=>'邀请4人','diamonds'=>160,'status'=>0),
        5 => array('id'=>5,'name'=>'邀请5人','diamonds'=>180,'status'=>0)
    ),

    'REWARD_LIST' => array(  //赏金中心列表
        1 => array('id'=>1,'name'=>'谢谢惠顾','gold'=>0,'rate'=>20,'status'=>0), 
        2 => array('id'=>2,'name'=>'金币','gold'=>8,'rate'=>20,'status'=>0), 
        3 => array('id'=>3,'name'=>'金币','gold'=>16,'rate'=>15,'status'=>0), 
        4 => array('id'=>4,'name'=>'金币','gold'=>24,'rate'=>15,'status'=>0), 
        5 => array('id'=>5,'name'=>'金币','gold'=>32,'rate'=>10,'status'=>0), 
        6 => array('id'=>6,'name'=>'金币','gold'=>40,'rate'=>10,'status'=>0), 
        7 => array('id'=>7,'name'=>'钞票','diamonds'=>rand(10,20),'rate'=>5,'status'=>0),
        8 => array('id'=>8,'name'=>'钞票','diamonds'=>rand(20,30),'rate'=>5,'status'=>0),
    ),

    'COIN_LIST' => array(  //金币加成 rate 概率
        1 => array('id'=>1,'name'=>'60分钟','rate'=>0.5,'status'=>0),
        2 => array('id'=>2,'name'=>'90分钟','rate'=>0.7,'status'=>0),
        3 => array('id'=>3,'name'=>'240分钟','rate'=>1,'status'=>0),
        4 => array('id'=>4,'name'=>'480分钟','rate'=>1.5,'status'=>0),
        5 => array('id'=>5,'name'=>'600分钟','rate'=>2,'status'=>0),
    ),

    'PROP_LIST' => array(  // 道具加成  hurt 伤害 diamonds 钞票 cd 冷却时间 buff 1:无法行动 2：持续燃烧 3：中毒 other_bug 额外伤害
        2 => array('id'=>2,'name'=>'火箭','hurt'=>10,'diamonds'=>100,'cd'=>10,'buff'=>'1','other_buff'=>0,'status'=>0),
        3 => array('id'=>3,'name'=>'冰箭','hurt'=>10,'diamonds'=>100,'cd'=>10,'buff'=>'2','other_buff'=>10,'status'=>0),
        4 => array('id'=>4,'name'=>'毒箭','hurt'=>10,'diamonds'=>100,'cd'=>10,'buff'=>'3','other_buff'=>0,'status'=>0),
    ),

);
